package io.aircraft.modules.wms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 回调记录
 *
 * @author Cycle gengruyi01@163.com
 * @since 1.0.0 2022-11-08
 */
@Data
@ApiModel(value = "回调记录")
public class CallbackRecordDTO implements Serializable {
    private static final long serialVersionUID = 1L;
	@ApiModelProperty(value = "请求pk")
	@NotBlank(message = "请求pk不能为空")
	@Size(max = 32, message = "pk长度不能超过32位")
	private String requestPk;

	@ApiModelProperty(value = "托盘条码")
	@NotBlank(message = "托盘条码不能为空")
	@Size(max = 32, message = "托盘条码不能超过32位")
	private String contNo;

	@ApiModelProperty(value = "任务类型")
	private String noticeType;

	@ApiModelProperty(value = "当前站台")
	private String curPos;

	@ApiModelProperty(value = "结果码")
	@NotBlank(message = "结果码不能为空")
	private String code;

	@ApiModelProperty(value = "结果信息")
	private String result;

	@ApiModelProperty(value = "客户端")
	private String clientCode;

	@ApiModelProperty(value = "请求时间")
	private String reqTime;
}